import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class EmptyPage extends StatefulWidget {
  EmptyPage({this.title});
  final String title;
  @override
  _EmptyPageState createState() => _EmptyPageState();
}

class _EmptyPageState extends State<EmptyPage> {
  @override
  Widget build(BuildContext context) {
    Runes input = new Runes(
        '😂');
    print(new String.fromCharCodes(input));
    return Center(
      child: Container(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Image.asset('images/nodata.png',width:250.w,height:250.w,fit: BoxFit.cover,),
//            Text( String.fromCharCodes(input),style: TextStyle(
//              fontSize: 120.sp
//            ),),
//            Icon(Icons.web_asset,size:240.sp,color:Colors.red.withAlpha(80)),
            SizedBox(height:50.h),
            Text(widget.title==null?'没有您要浏览的数据!!!':widget.title,
              textAlign: TextAlign.center,
              style: TextStyle(
                fontSize: 30.sp,
                color:Colors.black26
            ),)
          ],
        ),
      ),
    );
  }
}
